cmake_minimum_required(VERSION 3.13)
project(ftpserver C)

set(CMAKE_C_STANDARD 99)
link_directories(C:/mingw64/x86_64-w64-mingw32/lib32)
link_libraries(ws2_32)
link_libraries(pthread)

add_executable(ftpserver main.c socketutil.c socketutil.h ftpclient.c ftpclient.h ftpserver.c ftpserver.h)